package top.z.orm.core.osql;

/**
 * SQL关键字
 */
public interface SqlKeyWord {
    String DISTINCT      = "distinct";
    String L_PARENTHESIS = "(";
    String R_PARENTHESIS = ")";
    String COMMA         = ",";
    String STAR          = "*";
    String EQUAL         = "=";
    String SPACE         = " ";
    String QUESTION      = "?";
    String DOT           = ".";
    String SELECT        = "select";
    String AS            = "as";
    String FROM          = "from";
    String WHERE         = "where";
    String INSERT        = "insert";
    String INTO          = "into";
    String VALUES        = "values";
    String AND           = "and";
    String UNION         = "union";
    String UNION_ALL     = "union all";
    String JOIN          = "join";
    String INNER_JOIN    = "inner join";
    String LEFT_JOIN     = "left join";
    String RIGHT_JOIN    = "right join";
    String OR            = "or";
    String IN            = "in";
    String NOT_IN        = "not in";
    String NULL          = "null";
    String IS_NULL       = "is null";
    String IS_NOT_NULL   = "is not null";
    String EXISTS        = "exists";
    String NOT_EXISTS    = "not exists";
    String UPDATE        = "update";
    String SET           = "set";
    String DELETE        = "delete";
    String ORDER_BY      = "order by";
    String COUNT         = "count";
    String ASC           = "asc";
    String ON            = "on";
    String LIMIT         = "limit";
    String OFFSET        = "offset";
    String TOP           = "top";
    String GROUP_BY      = "group by";
    String HAVING        = "having";
    String BETWEEN       = "between";
    String NOT_BETWEEN   = "not between";
    String FOR_UPDATE    = "for update";
}